package response

import (
	"gin-admin/common/dto/response"
	"gin-admin/enumeration"
)

type MenuResponse struct {
	response.BaseResponse
	ParentID  string                `json:"parent_id"`
	Level     enumeration.MenuLevel `json:"level"`
	LevelName string                `json:"level_name"`
	Path      string                `json:"path"`
	Name      string                `json:"name"`
	Code      string                `json:"code"`
	Url       string                `json:"url"`
	Icon      string                `json:"icon"`
	IsRouter  bool                  `json:"is_router"`
	KeepAlive bool                  `json:"keep_alive"`
	IsHidden  bool                  `json:"is_hidden"`
	Children  []MenuResponse        `json:"children"`
}
